package com.cloud.drore.eboos.common.entity.operation.po;

import com.alibaba.fastjson.annotation.JSONField;
import com.cloud.drore.eboos.common.base.BaseEntity;
import com.cloud.drore.eboos.jackson.JacksonDateDeserializer;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

/**
 * 浙江卓锐科技股份有限公司 版权所有  Copyright 2018<br>
 *
 * @Description: 运营商财务结算的流水统计页面<br>
 * @Project: eboos <br>
 * @CreateDate: Created in 2018/1/24 0024 下午 4:42 <br>
 * @Author: <a href="410508961@qq.com">夏凯</a>
 */
@Data
public class FinaceFlowMeterOperationPo extends BaseEntity<Long> {

    /**
     * 分销商id
     */
    @JsonProperty("distributor_id")
    @JSONField(name = "distributor_id")
    @ApiModelProperty(name = "distributor_id", notes = "分销商id", example = "3")
    private Long distributorId;
    /**
     * 流水事件
     */
    @JsonProperty("order_event_status")
    @JSONField(name = "order_event_status")
    @ApiModelProperty(name = "order_event_status", notes = "订单交易事件", example = "ORDER_PAY")
    private String orderEventStatus;
    /**
     * 开始时间
     */
    @JsonDeserialize(using = JacksonDateDeserializer.class)
    @JsonProperty("start_time")
    @JSONField(name = "start_time", format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "start_time", notes = "本次结算时间", example = "2018-1-01 16:36:24")
    private Date startTime;
    /**
     * 结束时间
     */
    @JsonDeserialize(using = JacksonDateDeserializer.class)
    @JsonProperty("end_time")
    @JSONField(name = "end_time", format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "end_time", notes = "结束时间", example = "2018-5-24 16:36:24")
    private Date endTime;
    /**
     * 订单号
     */
    @JsonProperty("order_num")
    @JSONField(name = "order_num")
    @ApiModelProperty(name = "order_num", notes = "订单号",example = "T15220")
    private String orderNum;
}
